package com.jeeplus.modules.cms.statistic.mapper;

import com.jeeplus.core.persistence.TreeMapper;
import com.jeeplus.modules.cms.column.entity.CmsColumn;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 统计管理MAPPER接口
 *
 * @author LiGuanHua
 * @version 2017-11-18
 */
@Mapper
@Repository
public interface StatisticMapper extends TreeMapper<CmsColumn> {

    /**
     * 点击量统计
     *
     * @param column 栏目
     * @return list or null
     */
    List<CmsColumn> hitsStats(CmsColumn column);

}
